package com.shell.governor.security.user.controller;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.shell.bee.base.annotation.Logging;
import com.shell.bee.mvc.controller.BaseController;
import com.shell.governor.security.user.po.PubSecurityIssue;
import com.shell.governor.security.user.service.PubSecurityIssueService;

@RestController
public class PubSecurityIssueController extends BaseController {
	@Autowired
	private PubSecurityIssueService pIssueService;

	@RequestMapping({ "auth/select" })
	@Logging(module = "������������", methods = "����������������")
	public List<PubSecurityIssue> selectSecurityIssue(PubSecurityIssue pubSecurityIssue, HttpServletRequest request)
			throws Exception {
		System.out.println("����");
		return this.pIssueService.selectAllSecurityIssue(pubSecurityIssue);
	}
}
